package string;

public class StartsWithDemo {
    public static void main(String[] args) {
        String str="thinking in java";
        boolean start=str.startsWith("think");

        boolean start1=str.endsWith("end");
        System.out.println(start+","+start1);
    }
}
